package com.xjust.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CourseMapper {
    List<Map<String, Object>> selectAllCourse();

    List<Map<String, Object>> selectClassBycourse(Integer courseId);

    void insertCourseSelection(Map<String, Object> courseInfo);

    List<Map<String, Object>> selectCourseSelectByStuId(Integer id);

    Integer selectCourseById(Integer course_id);

    void updateCourseStudentNum(Object classId);
}
